package deng.ejbtx.ejb.order;

public class OrderDetail {
	private String productName;
	private int quantity;
	
	public OrderDetail() {
		productName = null;
		quantity = 0;
	}
	public OrderDetail(String name) {
		productName = name;
		quantity = 1;
	}
	public String getProductName() {
		return productName;
	}
	public void setProductName(String productName) {
		this.productName = productName;
	}
	public int getQuantity() {
		return quantity;
	}
	public void setQuantity(int quantity) {
		this.quantity = quantity;
	}
}
